package com.wanxi.spring.cloud.user.service;

import com.wanxi.spring.cloud.commons.api.CommonResult;
import com.wanxi.spring.cloud.user.model.UserRole;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
public interface UserRoleService {

    int updateUserRole(UserRole userRole);

    UserRole getUserRoleByUser(Integer id);

    CommonResult changeLeader(String preLeader, String leader);
}
